#include <iostream>

struct Student
{   
    void show()
    {
        std::cout<<id<<" "<<Name<<std::endl;
    }
    int id;
    char Name[20];
};

int main()
{
    Student s = {1,"zhangsan"};//结构体名称能单独作为类型进行定义
    s.show();
    
    return 0;
}